package myzzyl.mapper;

import myzzyl.domain.pojo.SysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

/**
* @author 33249
* @description 针对表【sys_user_role(用户角色关联表)】的数据库操作Mapper
* @createDate 2025-08-20 16:24:36
* @Entity myzzyl.domain.pojo.SysUserRole
*/
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

    @Delete("delete from sys_user_role where user_id = #{id}")
    void deleteByUserId(Long id);

}




